<?php ob_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><?php echo $pageTitle; ?></title>

        <link rel="stylesheet" type="text/css" href="<?php echo Utils::getUrl('content/site.css') ?>" />
        <script type="text/javascript" src="<?php echo Utils::getUrl('scripts/jquery-1.6.2.js') ?>"></script>
        <script type="text/javascript" src="<?php echo Utils::getUrl('scripts/utils.js') ?>"></script>
        <script type="text/javascript" src="<?php echo Utils::getUrl('scripts/error.js') ?>"></script>
    </head>

    <body>
        <div id="container">
            <div id="extraDiv"><span></span></div>
            <div id="sidebar">
                <div id="header">
                    <?php include_once(Utils::getPath(array('shared', 'header.php'))); ?>
                </div>

                <div id="login">
                    <?php include_once(Utils::getPath(array('shared', 'login.php'))); ?>
                </div>
            </div>

            <div id="menu">
                <?php include_once(Utils::getPath(array('shared', 'mainMenu.php'))); ?>
            </div>
            <div id="content">

                <?php include_once(Utils::getPath(array('shared', 'error.php'))); ?>

                <div id="pageMainContent">
                    <?php echo $pageMainContent; ?>
                </div>
            </div>
        </div>
        <div id="footer">
            <?php include_once(Utils::getPath(array('shared', 'footer.php'))); ?>
        </div>

    </body>
</html>
<?php ob_flush(); ?>